package n.info.entities;

public class FeedMedia {

	// ~ constants .................................................................................
	// ~ Static fields/initializers .............................................................
	// ~ Static methods ........................................................................
	// ~ Instance fields .........................................................................
	
	private String url ;
	private String length ;
	private String type ;
	
	
	// ~ Constructors ...........................................................................
	
	
	
	// ~ Properties ...............................................................................
	
	public String getUrl() {
    	return url;
    }
	public void setUrl(String url) {
    	this.url = url;
    }
	public String getLength() {
    	return length;
    }
	public void setLength(String length) {
    	this.length = length;
    }
	public String getType() {
    	return type;
    }
	public void setType(String type) {
    	this.type = type;
    }
	
	// ~ Abstract methods ...................................................................
	// ~ Abstract methods implementations .......................................
	// ~ Interface implementations ......................................................
	// ~ Methods ..................................................................................	
	
	public FeedMedia copy(){
		FeedMedia copy = new FeedMedia() ;
		copy.setLength(this.getLength());
		copy.setType(this.getType());
		copy.setUrl(this.getUrl());
		
		return copy ;
	}
	
	public void erase(){
		this.length = null ;
		this.type = null ;
		this.url = null ;
	}
	
	// ~ Inner classes ...........................................................................
}
